import { request } from '../utils/request'

export function drugCPList(params) {
    return request({
        method: 'post',
        url: 'drugCompany/getCompanyList',
        data: params,
    })
}

export function addCompany(params){
    return request({
        method:'post',
        url:'drugCompany/add',
        data:params
    })
}

export function editCompany(params){
    return request({
        method:'post',
        url:'drugCompany/edit',
        data:params
    })
}

export function delOne(params){
    return request({
        method:'post',
        url:'drugCompany/delById',
        data:params
    })
}

export function delMore(params){
    return request({
        method:'post',
        url:'drugCompany/delBatch',
        data:params
    })
}
